﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.View
{
    public class VCapitalDecreaseBill
    {
        #region entity
        public Guid Id { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 商家Id
        /// </summary>
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 店铺Id
        /// </summary>
        public Guid StationId { get; set; }

        /// <summary>
        /// 出账类型
        /// </summary>
        public int ChangedType { get; set; }

        /// <summary>
        /// 出账金额
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 收款角色类型
        /// </summary>
        public int PayeeRoleType { get; set; }

        /// <summary>
        /// 收款角色信息
        /// </summary>
        public string PayeeRole { get; set; }

        /// <summary>
        /// 相关单据号
        /// </summary>
        public string BillNumber { get; set; }

        /// <summary>
        /// 相关单据Id
        /// </summary>
        public Guid? BillId { get; set; }
        /// <summary>
        /// 相关单据类型
        /// </summary>
        public int? BillType { get; set; }

        /// <summary>
        /// 票据类型
        /// </summary>
        public string InvoiceType { get; set; }

        /// <summary>
        /// 票据编号
        /// </summary>
        public string InvoiceNumber { get; set; }

        public int Status { get; set; }
        public DateTime CreatedTime { get; set; }
        public string Creator { get; set; }
        #endregion

        /// <summary>
        /// 收款角色名称
        /// </summary>
        public string PayeeRoleName { get; set; }

        public string InvoiceTypeName { get; set; }
    }
}
